#!/usr/bin/env bash

echo 'start resty running...'

echo '阿拉伯数字18作为异常退出码'
check='[ $? -eq 0 ] || exit 18'

eval "$check" && echo 'init...'
eval "$check" && bash ../install/init.sh
eval "$check" && echo 'build...'
eval "$check" && bash build.sh

eval "$check" && echo "finish resty running！！！"

